{include file="common/_meta" /}
<title>修改</title>
<meta name="keywords" content="李志立，lizhilimaster@163.com">
<meta name="description" content="李志立，lizhilimaster@163.com">
</head>
<body>
	<div class="page-container">
		<form action="" method="post" enctype="multipart/form-data" class="form form-horizontal" id="form-category-add">
			<div id="tab-category" class="HuiTab">
				<div class="tabCon">
					<input type="hidden" name="id" value="{$data.id}" />
					
					<div class="row cl">
						<label class="form-label col-xs-3 col-sm-2">修改状态 ：</label>
						<div class="formControls col-xs-9 col-sm-9 skin-minimal">
							<div class="radio-box">
							    <input type="radio" value="2" id="radio-1" name="type" {if $data.type==2} checked{/if} >
							    <label for="radio-1">通过</label>
							  </div>
							  <div class="radio-box">
							    <input type="radio" value="3" id="radio-2" name="type" {if $data.type==3} checked{/if} >
							    <label for="radio-2">驳回</label>
							  </div>
						</div>
					</div>

					
					<div class="row cl">
						<label class="form-label col-xs-3 col-sm-2">提现姓名 ：</label>
						<div class="formControls col-xs-9 col-sm-9">
							<input type="text" class="input-text" value="{$data.name}" disabled placeholder="" style="width: 80%;">
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-3 col-sm-2">提现手机号 ：</label>
						<div class="formControls col-xs-9 col-sm-9">
							<input type="text" class="input-text" value="{$data.phone}" disabled placeholder="" style="width: 80%;">
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-3 col-sm-2">当前价值 ：</label>
						<div class="formControls col-xs-9 col-sm-9">
							<input type="text" class="input-text" value="{$data.money}" disabled placeholder="" style="width: 80%;">
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-3 col-sm-2">提现数量 ：</label>
						<div class="formControls col-xs-9 col-sm-9">
							<input type="text" class="input-text" value="{$data.money}" disabled placeholder="" style="width: 80%;">
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-3 col-sm-2">到账金额 ：</label>
						<div class="formControls col-xs-9 col-sm-9">
							<input type="number" class="input-text" value="{$data.money}" placeholder="" id="money" name="money"  style="width: 80%;color: red;">
						
						</div>
					</div>
					<div class="row cl">
						<div class="col-9 col-offset-2">
							<input name="ti" class="btn btn-success radius" type="submit" value="支付宝提交">
							<input name="ti" class="btn btn-primary radius" type="submit" value="手动提交">
						</div>
					</div>
				</div>
			</div>
		</form>
	</div>
	<!--_footer 作为公共模版分离出去-->
	{include file="common/_footer" /}
	<style type="text/css">
		.li123 {
			line-height: 30px;
			background: burlywood;
			display: inline-block;
			vertical-align: middle;
			padding: 0 8px;
		}

		#abtn,
		.dtbtn {
			color: red;
		}
	</style>
	<!--请在下方写此页面业务相关的脚本-->
	<script type="text/javascript" src="__MANAGE__lib/jquery.validation/1.14.0/jquery.validate.js"></script>
	<script type="text/javascript" src="__MANAGE__lib/jquery.validation/1.14.0/validate-methods.js"></script>
	<script type="text/javascript" src="__MANAGE__lib/jquery.validation/1.14.0/messages_zh.js"></script>
	<script type="text/javascript" src="__MANAGE__lib/ueditor/ueditor.config.js"></script>
	<script type="text/javascript" src="__MANAGE__lib/ueditor/ueditor.all.js"> </script>
	<script type="text/javascript" src="__MANAGE__lib/ueditor/lang/zh-cn/zh-cn.js"></script>
	<script type="text/javascript">
		$(function() {
			$('.skin-minimal input').iCheck({
				checkboxClass: 'icheckbox-blue',
				radioClass: 'iradio-blue',
				increaseArea: '20%'
			});

			$("#tab-category").Huitab({
				index: 0
			});
			$("input[type=\"submit\"]").on('click', function() {
				let wo = $("#form-category-add").validate({
					rules: {

					}
				});
				if (wo.form()) {
					setTimeout(() => {
						$("input[type=\"submit\"]").addClass('disabled').attr("disabled", true);
					}, 1000)
					var index = layer.load(1, {
						shade: [0.1, '#fff'] //0.1透明度的白色背景
					});
					// 关闭当前界面
					// var index = parent.layer.getFrameIndex(window.name);
					// parent.layer.close(index);
				}
			});



			var ue = UE.getEditor('editor');
		});

		function textlength() {
			var nmb = $('#desc').val().length;
			if (nmb > 200) {
				$('#desc').css("background-color", "orangered");
				$('#desc').val($('#desc').val().substr(0, 200));
				$('.textarea-length').text(200);
			} else {
				$('#desc').css("background-color", "white");
				$('.textarea-length').text(nmb);
			}
		}

		function onpic(e) {
			$(e).parent().find('span').html(e.files[0].name).addClass('li123');
			//获取当前的值
		}
	</script>
	<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>
